package com.kefu.chat.model;

import java.io.Serializable;

import javax.validation.constraints.NotEmpty;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author CodeGenerator
 * @date 2021/11/23
 */
@Data
@TableName(value="chat_evaluate_rel")
@ApiModel(description = "在线评价设置星级配置表")
public class ChatEvaluateRel implements Serializable {
    /**
     * 主键
     */
    @TableId(value="id")
    @NotEmpty
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * 父级
     */
    @ApiModelProperty(value = "父级")
    private String pid;

    /**
     * 等级 1=1星（分）
     */
    @TableField(value = "level_name")
    @ApiModelProperty(value = "等级 1=1星（分）")
    private String levelName;

    /**
     * 等级 1=1星（分）
     */
    @TableField(value = "level_type")
    @ApiModelProperty(value = "分类1=星星，2=分数")
    private Integer levelType;

    /**
     * 等级 1=1星（分）
     */
    @TableField(value = "level_value")
    @ApiModelProperty(value = "分数或者星星等级")
    private Integer levelValue;

    /**
     * 等级描述
     */
    @TableField(value = "level_description")
    @ApiModelProperty(value = "等级描述")
    private String levelDescription;

    /**
     * 星级标签
     */
    @TableField(value = "level_tag")
    @ApiModelProperty(value = "星级标签")
    private String levelTag;

    /**
     * 标签引导语
     */
    @TableField(value = "level_guide_msg")
    @ApiModelProperty(value = "标签引导语")
    private String levelGuideMsg;

    /**
     * 是否必填 0=非必填，1=必填
     */
    @TableField(value = "level_tag_required")
    @ApiModelProperty(value = "是否必填 0=非必填，1=必填")
    private Integer levelTagRequired;

    /**
     * 评价框引导语
     */
    @TableField(value = "evaluate_guide__msg")
    @ApiModelProperty(value = "评价框引导语")
    private String evaluateGuideMsg;

    /**
     * 评价框内容是否必填
     */
    @TableField(value = "evaluate_msg_required")
    @ApiModelProperty(value = "评价框内容是否必填")
    private Integer evaluateMsgRequired;
    private static final long serialVersionUID = 1L;
}